/*
 * (c) Copyright 1990-2007 AT&T Intellectual Property.
 * All rights reserved.
 *
 * NOTICE:
 * This software source code ("Software"), and all of its derivations,
 * is subject to the "ITU-T General Public License". It can be viewed
 * in the distribution disk, or in the ITU-T Recommendation G.191 on
 * "SOFTWARE TOOLS FOR SPEECH AND AUDIO CODING STANDARDS".
 *
 * The availability of this "Software" does not provide any license by
 * implication, estoppel, or otherwise under any patent rights owned or
 * controlled by AT&T Inc. or others covering any use of the Software
 * herein.
 */

/* Data that should be placed in ROM on the DSP */
#include "g728fp.h"

/* Shape codebook */
Float g728fp_y[NA] = {
	-2553,	-1790,	-1254,	-2950,	668,
	3318,	2908,	-1045,	-4577,	-5032,
	-4450,	-2825,	-948,	-2677,	-2819,
	1262,	-1276,	1482,	-340,	-6679,
	-1274,	179,	1281,	-6757,	-562,
	2411,	6913,	-4925,	-7130,	-2512,
	0,	-3873,	4683,	-156,	-2478,
	533,	-2785,	-478,	2140,	-8208,
	-5913,	-6955,	1381,	2759,	1889,
	568,	1797,	-5778,	-2460,	5082,
	-7505,	-6236,	-4523,	-3309,	-2208,
	2664,	-1149,	-2988,	4358,	-2719,
	-10390,	-2464,	2711,	995,	1259,
	-2329,	2171,	-2742,	-7569,	1722,
	-12843,	-7946,	-858,	747,	1032,
	1035,	-2541,	-4193,	4856,	3106,
	5882,	410,	-6628,	-960,	1862,
	7202,	-60,	-4000,	-2628,	-2493,
	1233,	-3831,	1536,	1446,	-2672,
	3665,	-4187,	1589,	6912,	-5302,
	4698,	1384,	-7709,	-8170,	-3456,
	16830,	8104,	-11176,	-6209,	-4699,
	2567,	-8977,	1269,	7004,	930,
	1199,	-5657,	3441,	11804,	4649,
	3230,	-7976,	-8859,	-183,	2542,
	12983,	-8385,	-9713,	-2011,	-2872,
	-2896,	-9643,	-3680,	2140,	3086,
	6332,	-2522,	-2283,	6515,	-7609,
	5543,	-11131,	-9130,	-5620,	-3333,
	11568,	-2889,	-17466,	-6721,	-407,
	-1856,	-10846,	-262,	6796,	3692,
	4936,	-10595,	-2989,	13404,	7275,
	-5412,	3776,	2656,	-2219,	244,
	-2866,	863,	2131,	-5934,	-4043,
	-2052,	-128,	-2006,	1743,	-3302,
	1142,	-21,	-1583,	3342,	-6361,
	-2848,	2545,	6397,	-1831,	-3837,
	-2245,	1986,	5309,	-6528,	-9332,
	-493,	-3027,	1935,	748,	-4490,
	1784,	-4493,	3193,	5366,	-9255,
	-1889,	1057,	1866,	-370,	4784,
	-611,	676,	-2577,	-2690,	7342,
	-2049,	-1777,	-1850,	2235,	-502,
	-152,	2209,	-2465,	3880,	1011,
	-7306,	2839,	5588,	2829,	2592,
	-4447,	9201,	5955,	-4918,	-3049,
	-4644,	-4451,	5798,	3908,	697,
	-1202,	321,	-2570,	5444,	-2121,
	-708,	566,	3532,	-2086,	2846,
	452,	3749,	4980,	950,	-4279,
	238,	-170,	1719,	3502,	-2484,
	2361,	-2005,	2114,	263,	-3435,
	-4013,	-1216,	9347,	-1208,	-7338,
	361,	-4232,	8028,	-439,	-13498,
	-1259,	-4727,	2004,	5433,	-3729,
	-987,	-3691,	8429,	7743,	-3986,
	816,	-1281,	1150,	-423,	5198,
	30,	2690,	-3949,	4109,	7409,
	-246,	-1370,	-35,	3055,	1246,
	3170,	-2627,	-678,	5635,	-1489,
	799,	-1062,	2008,	-4585,	4830,
	10706,	14937,	4594,	717,	-129,
	-1153,	-5057,	1850,	2759,	417,
	666,	4285,	-5768,	7361,	-3887,
	-1697,	-2119,	20,	-938,	1443,
	2136,	110,	-2212,	-3402,	-3712,
	-1855,	-3500,	-1568,	12,	-2952,
	1709,	-558,	1160,	-1731,	-1315,
	-2957,	-454,	194,	-4569,	88,
	-155,	2084,	-273,	-1666,	-2839,
	-2449,	-1040,	1663,	-2376,	-189,
	-2677,	-248,	636,	-1369,	-2842,
	-973,	-3669,	-3013,	79,	1517,
	1271,	-749,	-5312,	-2493,	1913,
	-1829,	-3690,	-3756,	-3324,	-2903,
	1124,	-1406,	-2760,	-1547,	-2913,
	-4272,	706,	456,	-1834,	1844,
	1134,	1521,	-1909,	-4256,	467,
	-6494,	-1491,	-637,	-994,	-127,
	-578,	-2792,	-3828,	-2045,	873,
	1968,	-3052,	2632,	-1817,	2311,
	6342,	4107,	1893,	1194,	641,
	2203,	-1449,	2160,	1198,	-45,
	4251,	2652,	3518,	1713,	-2004,
	-1476,	131,	1280,	-3968,	2936,
	3513,	2658,	-1928,	8,	2827,
	-1407,	-1741,	2687,	-816,	3199,
	1298,	-253,	394,	4029,	2948,
	-659,	-32,	-4507,	51,	4286,
	5707,	-2592,	-5588,	5646,	3903,
	664,	-5187,	-1607,	1234,	-606,
	1707,	-2527,	-2192,	3620,	-525,
	-2264,	812,	-2283,	-3251,	4297,
	1672,	1352,	-3287,	528,	5765,
	-3407,	-3273,	-1103,	1241,	2735,
	1444,	-1174,	-2965,	1648,	4033,
	-1026,	915,	1999,	918,	74,
	229,	2950,	2034,	-1605,	-2496,
	-208,	-1264,	15,	2037,	-2168,
	962,	1491,	581,	1530,	-3552,
	-2185,	-1488,	3621,	-2338,	-2613,
	-2257,	1432,	5538,	81,	-1747,
	-1510,	-2284,	214,	867,	-1019,
	-1389,	2551,	-229,	2816,	-1684,
	-1009,	2783,	479,	504,	2707,
	1929,	621,	-1596,	-1487,	2517,
	-1401,	1292,	-4288,	2206,	-148,
	1280,	1909,	-2731,	1243,	-527,
	-4591,	610,	3688,	-1501,	2149,
	-1217,	3636,	1875,	-3369,	3306,
	-4979,	-3074,	1449,	2513,	2574,
	-4077,	4234,	-2497,	1826,	814,
	1115,	1002,	3418,	-220,	1664,
	3140,	6130,	3919,	1658,	781,
	199,	815,	1516,	4065,	1148,
	2443,	2421,	2561,	2489,	1191,
	-3199,	-368,	5515,	-5915,	770,
	-2089,	6927,	3742,	1047,	1190,
	-2455,	-758,	4308,	3099,	292,
	85,	1386,	4044,	3921,	523,
	-1383,	-1466,	-1252,	1006,	4367,
	868,	2064,	-77,	1579,	3852,
	-509,	359,	-202,	2919,	5109,
	1296,	1693,	2303,	3206,	3650,
	-2332,	-1196,	229,	-3907,	2905,
	-3138,	3825,	805,	-3585,	5977,
	-3301,	-269,	53,	-606,	3746,
	398,	4064,	-1316,	2018,	606
};

/* Bandwidth expansion tables */

/* weight table for the LPC synthesis filter - Q14 */
Float g728fp_iw[] = {
	16192,	16002,	15815,	15629,	15446,
	15265,	15086,	14910,	14735,	14562,
	14391,	14223,	14056,	13891,	13729,
	13568,	13409,	13252,	13096,	12943,
	12791,	12641,	12493,	12347,	12202,
	12059,	11918,	11778,	11640,	11504,
	11369,	11236,	11104,	10974,	10845,
	10718,	10593,	10468,	10346,	10225,
	10105,	9986,	9869,	9754,	9639,
	9526,	9415,	9304,	9195,	9088
};

/* weight table for the log-gain predictor - Q14 */
Float g728fp_iwg[] = {
	14848,	13456,	12195,	11051,	10015,
	9076,	8225,	7454,	6755,	6122
};
